package com.example.workuitl.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.workuitl.dao.TDeviceDao;
import com.example.workuitl.entity.TAssetProp;
import com.example.workuitl.entity.TDevice;
import com.example.workuitl.service.TDeviceService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * (TDevice)表服务实现类
 *
 * @author makejava
 * @since 2023-12-24 18:27:18
 */
@Service("tDeviceService")
public class TDeviceServiceImpl extends ServiceImpl<TDeviceDao, TDevice> implements TDeviceService {
    @Resource
    private TDeviceDao tDeviceDao;

    @Override
    public List<TDevice> getAssetPropByIp(List<String> ips) {
        return tDeviceDao.getAssetPropByIp(ips);
    }

    @Override
    public List<Map<String, Object>> getObjectById(List<String> ids) {
        return tDeviceDao.getObjectById(ids);
    }
}
